package com.sleep.satokendemo.server.impl;

import com.sleep.satokendemo.server.DubboTestService;
import dubbo.DemoServiceInterface;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

/**
 * @author GuoAo
 * @className DubboTestServiceImpl
 * @date 2025/7/31
 * @description TODO
 */
@Service
@Slf4j
public class DubboTestServiceImpl implements DubboTestService {

    @DubboReference
    private DemoServiceInterface demoService;


    @Override
    public void test() {
        log.info("Dubbo开始执远程调用");
        demoService.test();
    }
}
